<?php 
	$this->headMeta()->setName("title", "Accueil");
	$this->headMeta()->setName("keywords", "");
	$this->headMeta()->setName("robots", "index");
	$this->headMeta()->setName("REVISIT-AFTER", "7");
	$this->headMeta()->setName("locale",$this->language);
	$this->headMeta()->setName("description", "");
?>
<div class="catalogue">
	<?php $i=0;?>
	<?php foreach($this->categories as $categorie):?>
	<?php if ($i%4==0):?>
	<div>
	<?php endif;?>
		<div class="photocategorie">
		<a href="<?php echo $this->url(array('controller'=>'index','action'=>'listeproduits', 'categorieid'=>$categorie['CATEGORIE_ID']));?>">
			<img src="<?php echo $this->baseUrl().'/'.$categorie['CATEGORIE_IMAGE']?>"/>
		</a>
		<span><?php echo $categorie['CATEGORIE_LIBELLE'];?></span>
		</div>
	<?php if ($i%4==3):?>
		<div class="clearfix"></div>
	</div>
	<?php endif;?>
	<?php $i++;?>
	<?php endforeach;?>
	
	<?php if($i%4!=0):?>
		<div class="clearfix"></div>
	</div>
	<?php endif;?>
</div>